package com.alan.camunda.boot.schedule;

import org.springframework.stereotype.Component;

/**
 * @author Echo009
 * @since 2022/3/22
 */
@Component
public class FixedRateTriggerTimeCalculator {


    /**
     * 计算下一次触发时间
     * @param preTriggerTime 上一次触发时间
     * @param interval  间隔毫秒数
     * @param startTime
     * @param endTime
     * @return
     */
    public Long calculateNextTriggerTime(Long preTriggerTime, long interval, Long startTime, Long endTime) {

        return null;
    }


}
